package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class CreateIbdDTO extends ProjectIdDTO {
    @NotBlank(message = ParamErrorConstants.NO_INSTANCE_ID)
    @Schema(title = "模块id")
    private String instanceId;

    @Schema(title = "泳道所在画布的所有节点模型")
    private List<String> nodeList;
}
